import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

/**
 * name
 * path
 * component
 *  webpackChunkName: "about"
 */
const routes = [
   {
    path:"/details/:id",
    name:"details",
    component:()=>import("../pags/details/details.vue"),
    props:true
   }
];

const router = new VueRouter({
  routes,
});

export default router;
